package com.actitime.dataprovider;

import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;

public class SampleDataProvider {
  @Test(dataProvider = "getData")
  public void sampleTest (String accNum, int password) {
	 System.out.println("Account Number = " + accNum );
	 System.out.println(" Password = "+ password);
  }
  
  @DataProvider
  public Object[][] getData(){
	  Object[][] data = new Object[4][2];
	  data[0][0]="acc1";
	  data[0][1]=10;
	  data[1][0]="acc2";
	  data[1][1]=12;
	  data[2][0]="acc3";
	  data[2][1]=13;
	  data[3][0]="acc4";
	  data[3][1]=14;
	  return data;
  }
}
